package com.xyht.sca_s.student_manage_system.modules.assetFixedIdle.service;

import com.xyht.sca_s.student_manage_system.common.commonReturn.ResponseResult;
import com.xyht.sca_s.student_manage_system.modules.assetFixedIdle.entity.SmsAssetFixedIdleApply;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xyht.sca_s.student_manage_system.modules.assetFixedIdle.entity.req.SmsAssetFixedIdleApplyAllowReq;
import com.xyht.sca_s.student_manage_system.modules.assetFixedIdle.entity.req.SmsAssetFixedIdleApplyReq;

/**
 * <p>
 * 资产闲置申请表 服务类
 * </p>
 *
 * @author XYHT
 * @since 2024-09-29
 */
public interface SmsAssetFixedIdleApplyService extends IService<SmsAssetFixedIdleApply> {
    ResponseResult addFixedIdleApply(SmsAssetFixedIdleApplyReq applyReq, String user_id);

    ResponseResult cancelFixedIdleApply(SmsAssetFixedIdleApplyReq applyReq, String user_id);

    ResponseResult getAssetFixedIdleApplyList(String user_id,
                                              Integer apply_type,
                                              Integer pageNum,
                                              Integer pageSize);
    ResponseResult getAssetFixedIdleApplyDetail(String apply_id, String user_id);

    ResponseResult allowAssetFixedIdleApply(SmsAssetFixedIdleApplyAllowReq smsAssetFixedIdleApplyAllowReq, String user_id);

    ResponseResult getAssetFixedIdleApplyAllList(Integer allowStatus, String applyUserName, Integer pageNum, Integer pageSize);
    ResponseResult getIdleAssetGoodsList(String apply_id,Integer pageNum, Integer pageSize);
}
